package com.bl.weilan.dao.repository;

import com.bl.weilan.dao.model.TrainEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TrainRepository extends JpaRepository<TrainEntity, String> {
    Page<TrainEntity> findByOrderByWeightDesc(Pageable pageable);

}
